<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('单据查询列表')"/>
    <th:block th:include="include :: list-css"/>
    <style>
        .layui-tab-title {
            border-color: #ccc !important;
        }

        .layui-this {
            color: rgb(0, 135, 250) !important;
            background: none !important;
        }

        .layui-tab-brief > .layui-tab-title .layui-this:after, .layui-tab-brief > .layui-tab-more li.layui-this:after {
            border-color: rgb(0, 135, 250) !important;
        }

        .mid-content {
            overflow: auto;
        }
    </style>
</head>
<body class="no-skin">
<div style="padding:0 10px;">
    <table class="layui-hide" id="dhtable" lay-filter="ftable"></table>
</div>

<script type="text/html" id="barDh">
    <div class="divdel"></div>
</script>
<script type="text/html" id="zjtoolbar">
    <div style="padding: 16px 0;" class="addbtns">

    </div>
</script>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: businessJS"/>


<script th:inline="javascript">
    var data = [[${countForCompany}]];
    console.log("data",data)
</script>
<script>
    var $, layer, laydate, form, table;
    layui.use(['table', 'laydate', 'form', 'layer', 'jquery', 'element'], function () {
        $ = layui.$, layer = layui.layer, laydate = layui.laydate , form = layui.form, table = layui.table, element = layui.element;
        var layCols = [
            {type: 'numbers', title: ''},
            {width: 150, field: "mType", title: "单据名称",align: "center"},
            // {width: 150, field: "nid", title: "单据编码", align: "center"},
            {width: 150, field: "bid", title: "单据编号", align: "center"},
            {width: 150, field: "fDjJe", title: "冻结金额",align: "center"},
            {width: 170, field: "dDjSj", title: "冻结时间",align: "center"},
            {width: 150, field: "vType", title: "冻结说明",align: "center"},
            {width: 200, field: "vBz", title: "备注",align: "center"},
            {width: 150, field: "vGsBm", title: "运营公司编码",align: "center"},
            {width: 150, field: "vGsMc", title: "运营公司名称",align: "center"},
            {width: 150, field: "vGsJc", title: "运营公司简称",align: "center"},
        ];

        $.tablelist.init({
            elem: '#dhtable'
            , data: data
            , page: false
            , even: true
            , limit: 1000
            , cols: [layCols]
            , height: 'full-0'
            , toolbar: '#zjtoolbar'
            , done: function (res, curr, count) {
                listData = table.cache.dhtable;//每次重载都赋值更新表缓存
            }
        });

    })


</script>

</body>
</html>